package values.quest
{
import flash.utils.Dictionary;

public class QuestTemplateValueList
{
	private static var list:Dictionary; /* QuestTemplateValue */
	
	public function get quests():Dictionary
	{
		return list;
	}
	
	[Data(type="mapping", 
		   mapping="quest", 
		   ref="values.quest.QuestTemplateValue",
		   way="one_to_more",
		   object="flash.utils.Dictionary",
           key="@key")]
	public function set quests(value:Dictionary):void
	{
		list = value;
	}
	
	public static function get questList():Dictionary
	{
		return list;
	}
	
	public static function getByKey(key:String):QuestTemplateValue
	{
		return list[key];
	}
}
}